/**
 * Project Name:dsrs-businessservice-domain
 * File Name:FileEditGrantSettingUpdateForm.java
 * Package Name:com.bwda.dsrs.businessservice.domain.form.fileeditgrantsetting;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 *
 */
package com.bwda.dsrs.filecenter.domain.form.waterconfig;

import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;

/**
 * 水印配置
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
@Data
@ApiModel(description = "水印配置")
public class WaterConfigCreateForm {

	@ApiModelProperty(value = "1明文水印2屏幕水印3暗水印4打印水印")
	private Integer waterType;

	@ApiModelProperty(value = "文件类型，后缀，如word,ppt")
	private String fileSuffix;

	@ApiModelProperty(value = "字体")
	private String font;

	@ApiModelProperty(value = "字号")
	private String fontSize;

	@ApiModelProperty(value = "颜色值")
	private String color;

	@ApiModelProperty(value = "倾斜度")
	private Integer tilt;

	@ApiModelProperty(value = "透明度")
	private Double transparency;

	@ApiModelProperty(value = "行数")
	private Integer rowNums;

	@ApiModelProperty(value = "列数")
	private Integer colNums;

	@ApiModelProperty(value = "底图宽度")
	@Max(value = 10000,message = "宽度在0-10000之间")
	private Integer picWidth;

	@ApiModelProperty(value = "底图高度")
	@Max(value = 10000,message = "高度在0-10000之间")
	private Integer picHeight;

	@ApiModelProperty(value = "水印内容")
	private String waterContent;

	@ApiModelProperty(value = "状态")
	private Integer status;

}